var page_super = require("page_obj");

function page_test() {
    this.setPageName("test");
    this.setPageUrl("/ws/test");
    this.page_handler = function(req, res){
        res.writeHead(200, {"Content-Type": "text/plain"});
        console.log("Run test");
        res.write("This is test page");
    };
}

page_test.prototype = new page_super.page_obj();

var _page_test = new page_test();
_page_test.addPage(_page_test);
